﻿using MediatR;
using T.Vehicleservice.Domain.Dtos;
using T.Vehicleservice.Domain.T.Vehicleservice.Model;

namespace T.Vehicleservice.Read.API.Application.Command.AccidentRecordCommand
{
    public class AccidentRecordShowCommand:IRequest<PageDto<AccidentRecord>>
    {

        /// <summary>
        /// 事故标题
        /// </summary>
        public string? AccidentTitle { get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        public string? LicensePlateNumber { get; set; }
        /// <summary>
        /// 事故日期
        /// </summary>
        public DateTime? AccidentDate { get; set; }
        /// <summary>
        /// 公司ID(全球唯一标识符,登录时存储,添加时赋值)
        /// </summary>
        public string? CompanyID { get; set; }
        /// <summary>
        /// 页索引
        /// </summary>
        public int? PageIndex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int? PageSize { get; set; }
    }
}
